package com.project.bean;

import java.time.LocalDate;


/**
 * 日志信息表
 */
public class RecordBean {

    //日志编号
    private int recordId;
    //日志内容
    private String recordRec;
    //日志创建时间
    private LocalDate recordTime = LocalDate.now();

    public RecordBean() {
    }

    public RecordBean(String recordRec) {
        this.recordRec = recordRec;
    }

    public int getRecordId() {
        return recordId;
    }

    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    public String getRecordRec() {
        return recordRec;
    }

    public void setRecordRec(String recordRec) {
        this.recordRec = recordRec;
    }

    public LocalDate getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(LocalDate recordTime) {
        this.recordTime = recordTime;
    }

    @Override
    public String toString() {
        return "RecordBean{" +
                "recordId=" + recordId +
                ", recordRec='" + recordRec + '\'' +
                ", recordTime=" + recordTime +
                '}';
    }
}
